﻿Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Timer1.Enabled = True
    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        ProgressBar1.Increment(1)
        If ProgressBar1.Value = ProgressBar1.Maximum Then
            If My.Settings.FirstRun = True Then
                Setup.Show()
                Me.Hide()
            Else
                Startup.Show()
                Me.Hide()
            End If
        End If
    End Sub
End Class
